<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>校园科技节</title>
    <style>
        :root {
            --primary: #3498db;
            --secondary: #2c3e50;
            --accent: #e74c3c;
            --light: #f8f9fa;
            --gray: #6c757d;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f0f2f5;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        header {
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo h1 {
            font-size: 1.8rem;
            font-weight: 700;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }
        
        nav a {
            color: rgba(255,255,255,0.9);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 0.8rem;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        nav a:hover, nav a.active {
            color: white;
            background: rgba(255,255,255,0.1);
        }
        
        .hero {
            background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://via.placeholder.com/1920x600');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 5rem 1rem;
            margin-bottom: 3rem;
        }
        
        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .projects {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        
        .project-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .project-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .project-content {
            padding: 1.5rem;
        }
        
        .project-content h3 {
            color: var(--secondary);
            margin-bottom: 0.8rem;
        }
        
        .project-content p {
            color: var(--gray);
            margin-bottom: 1.2rem;
        }
        
        .btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 0.7rem 1.5rem;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 500;
            transition: background 0.3s ease;
        }
        
        .btn:hover {
            background: #2980b9;
        }
        
        .features {
            background: white;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin: 3rem 0;
        }
        
        .features h2 {
            color: var(--secondary);
            margin-bottom: 1.5rem;
            text-align: center;
        }
        
        .features ul {
            list-style: none;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .features li {
            padding: 0.8rem 1rem;
            margin-bottom: 0.8rem;
            background: #f8f9fa;
            border-left: 4px solid var(--primary);
            border-radius: 0 4px 4px 0;
        }
        
        footer {
            background: var(--secondary);
            color: white;
            text-align: center;
            padding: 2rem 0;
            margin-top: 3rem;
        }
        
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 1rem;
            }
            
            nav ul {
                gap: 0.8rem;
            }
            
            .hero {
                padding: 3rem 1rem;
            }
            
            .hero h2 {
                font-size: 2rem;
            }
        }
    </style>
</head>
<body>
    <!-- 文档1: 主页 -->
    <div id="home-page">
        <header>
            <div class="container header-content">
                <div class="logo">
                    <h1>校园科技节</h1>
                </div>
                <nav>
                    <ul>
                        <li><a href="#" class="active">主页</a></li>
                        <li><a href="机器狗项目.html">机器狗项目</a></li>
                    </ul>
                </nav>
            </div>
        </header>
        
        <section class="hero">
            <div class="container">
                <h2>欢迎来到校园科技节！</h2>
                <p>这里有各种有趣的科技体验项目！</p>
            </div>
        </section>
        
        <div class="container">
            <div class="projects">
                <div class="project-card">
                    <a href="机器狗项目.html">
                        
                    </a>
                    <div class="project-content">
                        <h3>智能机器狗</h3>
                        <p>体验最新的人工智能机器人技术</p>
                        <a href="机器狗项目.html" class="btn">了解详情</a>
                    </div>
                </div>
                
                <!-- 可以添加更多项目卡片 -->
                <div class="project-card">
                    <a href="#">
                        
                    </a>
                    <div class="project-content">
                        <h3>无人机编队</h3>
                        <p>体验空中编队表演与编程控制</p>
                        <a href="#" class="btn">了解详情</a>
                    </div>
                </div>
                
                <div class="project-card">
                    <a href="#">
                        
                    </a>
                    <div class="project-content">
                        <h3>VR虚拟现实</h3>
                        <p>沉浸式体验前沿虚拟现实技术</p>
                        <a href="#" class="btn">了解详情</a>
                    </div>
                </div>
            </div>
        </div>
        
        <footer>
            <div class="container">
                <p>© 2023 校园科技节 - 探索科技的无限可能</p>
            </div>
        </footer>
    </div>
</body>
</html>